
   
<?php

require '../classes/imageClass.php';
require '../classes/albumClass.php';
require'../classes/connectionFactoryClass.php';
require'../classes/imageDao.php';
require'../classes/albumDao.php';
require'../classes/validates.php';
require'checksDate.php';


//$image = new ImageClass();
$album=new AlbumClass();
$date = new checksDate();
$c = new ConnectionFactory();
$db = $c->getConnection();
$imageDao = new imageDao($db);
$albumDao = new albumDao($db);
$valid = new validates();


//$albumDao->getAlbumByNameContains('RAFAEL', 16);
$re=$albumDao->getAlbumByNameEqual('RAF', 1);

print_r($re);
        
       

?>
        
    
 
 
